<%@ page language="java" import="java.util.*,java.text.SimpleDateFormat,cn.bupt.adt.constant.Constants" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ page  isELIgnored="false"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String ip = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
%>
<%
	//分页
	//currentPage就是当前页，allPages表示的就是一共有多少页。这些在后面都会用到  
	int currentPage = 0, allPages = 0;
	if (request.getAttribute("currentPage") != null) {
		currentPage = Integer.parseInt(request.getAttribute(
				"currentPage").toString());
	}
	if (request.getAttribute("allPages") != null) {
		allPages = Integer.parseInt(request.getAttribute("allPages")
				.toString());
	}
	//本页面url，翻页用
	String url = "InspectItemsController/detail";
	request.setAttribute("url", url);
	request.setAttribute("imageRootPath",ip+Constants.IMAGE_PATH);
%>
<!DOCTYPE html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    

	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/bootstrap.min.css" />

    <link href="<%=request.getContextPath()%>/assets/css/font-awesome.css" rel="stylesheet" />
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
	<script src="<%=request.getContextPath()%>/assets/js/jquery-1.10.2.js" type="text/javascript"></script>
	<script  type="text/javascript" src="js/layer/layer.js" ></script>
	<script src="assets/js/bootstrap.js"></script>
	<link rel="stylesheet" href="layerui/css/layui.css"><link>
		<link href="assets/css/bootstrap-fileupload.min.css" rel="stylesheet" />
	 <link rel="stylesheet" href="css/Orderfont.css"><link>
	<script type="text/javascript" src="layerui/layui.js"></script>
	<script type="text/javascript" src="js/public/buttonModal.js"></script>
	<script type="text/javascript" src="js/public/submitForm.js"></script>
	  </head>
  <c:if test="${!empty oper_message }">
  	<script type="text/javascript">
  		alert("${oper_message}");
  	</script>
  </c:if>
  <body>
		  <div class="page-header">
		  		<h1><small>检查项目详情<i class="icon-double-angle-right"></i></small></h1>
			</div>
  	<div class="container">
  				</div>
                        <div class="panel-body">
                            <form method="post" role="form" action="InspectItemsController/modifyIns" class="form-horizontal" enctype="multipart/form-data" >
                                        
                                        <input type="hidden" value="${inspects.id }" name="id">
                                        <%--名称 --%>
	                                     <div class="form-group">
	                                          <label for="inspeName" class="control-label col-sm-3">项目名称</label>
	                                          <div class="col-sm-6">
	                                          	<input class="form-control" type="text" name="inspeName" id="inspeName" value="${inspects.inspeName}"> 
	                                          </div>
	                                      </div>
                                        
	                                     <div class="form-group">
	                                          <label for="number" class="control-label col-sm-3">项目编号</label>
	                                          <div class="col-sm-6">
	                                          	<input class="form-control" type="text" name="number" id="number" value="${inspects.number }"> 
	                                          </div>
	                                      </div>                                 		
                                        
	                                     <div class="form-group">
	                                          <label for="inspectionMethod" class="control-label col-sm-3">检验方法</label>
	                                          <div class="col-sm-6">
	                                          	<input class="form-control" type="text" name="inspectionMethod" id="inspectionMethod" value="${inspects.inspectionMethod}"> 
	                                          </div>
	                                      </div> 
	                                      
	                                     <div class="form-group">
	                                          <label for="feescale" class="control-label col-sm-3">收费标准</label>
	                                          <div class="col-sm-6">
	                                          	<input class="form-control" type="text" name="feescale" id="feescale" value="${inspects.feescale}"> 
	                                          </div>
	                                      </div> 
	                                     <div class="form-group">
	                                          <label for="time" class="control-label col-sm-3">出报告时间</label>
	                                          <div class="col-sm-6">
	                                          	<input class="form-control" type="text" name="time" id="time" value="${inspects.time }"> 
	                                          </div>
	                                      </div> 	                                      
                                        
                                 		<div class="form-group">
	                                          <label for="sampleSize" class="control-label col-sm-3">样本量</label>
	                                          <div class="col-sm-6">
	                                          		<input class="form-control" type="text" name="sampleSize" id="sampleSize" value="${inspects.sampleSize }"> 
	                                          </div>
                                        </div>  
                                       
                                 		<div class="form-group">
	                                          <label for="clinicalApplication" class="control-label col-sm-3">临床应用</label>
	                                          <div class="col-sm-6">
	                                          		<input class="form-control" type="text" name="clinicalApplication" id="clinicalApplication" value="${inspects.clinicalApplication }"> 
	                                          </div>
                                        </div>  
                                        
                                 		<div class="form-group">
	                                          <label for="sampleStability" class="control-label col-sm-3">样本稳定性</label>
	                                          <div class="col-sm-6">
	                                          		<input class="form-control" type="text" name="sampleStability" id="sampleStability" value="${inspects.sampleStability }"> 
	                                          </div>
                                        </div> 
                                        
                                 		<div class="form-group">
	                                          <label for="notes" class="control-label col-sm-3">注释</label>
	                                          <div class="col-sm-6">
	                                          		<input class="form-control" type="text" name="notes" id="notes" value="${inspects.notes }"> 
	                                          </div>
                                        </div>                                                                                                                                                                                                                                                                                                     
                                     		<button  class="btn btn-info" id="sm" >保存信息</button>
                                     		
                                     		<a class="btn btn-info"  href="InspectItemsController/index/1">返回检查项目列表 </a>
                                    </form>									
                            
<script src="assets/js/bootstrap-fileupload.js"></script>					
  </body>
</html>